home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / privacy.xul < prev    next >
Extensible Markup Language  |  2007-07-18  |  7KB  |  154 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE overlay [
  5. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  6. <!ENTITY % privacyDTD SYSTEM "chrome://browser/locale/preferences/privacy.dtd">
  7. <!ENTITY % prefsDTD SYSTEM "chrome://flock/locale/preferences/flockprefs.dtd">
  8. %brandDTD;
  9. %privacyDTD;
  10. %prefsDTD;
  11. ]>
  12.  
  13. <overlay id="PrivacyPaneOverlay"
  14.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  15.  
  16.   <prefpane id="panePrivacy" onpaneload="gPrivacyPane.init();">
  17.  
  18.     <preferences id="privacyPreferences">
  19.  
  20.       <!-- XXX button prefs -->
  21.       <preference id="pref.privacy.disable_button.cookie_exceptions"
  22.                   name="pref.privacy.disable_button.cookie_exceptions"
  23.                   type="bool"/>
  24.       <preference id="pref.privacy.disable_button.view_cookies"
  25.                   name="pref.privacy.disable_button.view_cookies"
  26.                   type="bool"/>
  27.  
  28.       <!-- History -->
  29.       <preference id="browser.history_expire_days"
  30.                   name="browser.history_expire_days"
  31.                   type="int"/>
  32.       <preference id="browser.history_expire_days.mirror"
  33.                   name="browser.history_expire_days.mirror"
  34.                   type="int"/>
  35.       <preference id="browser.formfill.enable"
  36.                   name="browser.formfill.enable"
  37.                   type="bool"/>
  38.       <preference id="browser.download.manager.retention"
  39.                   name="browser.download.manager.retention"
  40.                   type="int"/>
  41.  
  42.       <!-- Cookies -->
  43.       <preference id="network.cookie.cookieBehavior"      name="network.cookie.cookieBehavior"      type="int"/>
  44.       <preference id="network.cookie.lifetimePolicy"      name="network.cookie.lifetimePolicy"      type="int"/>
  45.       <preference id="network.cookie.blockFutureCookies"  name="network.cookie.blockFutureCookies"  type="bool"/>
  46.  
  47.       <!-- Clear Private Data -->
  48.       <preference id="privacy.sanitize.sanitizeOnShutdown"
  49.                   name="privacy.sanitize.sanitizeOnShutdown"
  50.                   type="bool"/>
  51.       <preference id="privacy.sanitize.promptOnSanitize"
  52.                   name="privacy.sanitize.promptOnSanitize"
  53.                   type="bool"
  54.                   onchange="gPrivacyPane.updateClearNowButtonLabel();"/>
  55.  
  56.     </preferences>
  57.     
  58.     <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
  59.     
  60.     <script type="application/x-javascript" src="chrome://browser/content/preferences/privacy.js"/>
  61.  
  62.     <!-- History -->
  63.     <groupbox id="historyGroup"
  64.               xmlns:aaa="http://www.w3.org/2005/07/aaa">
  65.       <caption label="&history.label;"/>
  66.  
  67.       <hbox id="historyBox" align="center">
  68.         <checkbox id="rememberHistoryDays"
  69.                   label="&flock.pref.privacy.rememberBefore.label;"
  70.                   accesskey="&rememberBefore.accesskey;"
  71.                   oncommand="gPrivacyPane.onchangeHistoryDaysCheck();"
  72.                   aaa:labelledby="historyBox"/>
  73.         <textbox id="historyDays" size="3"
  74.                  aaa:labelledby="historyBox"/>
  75.         <label>&rememberAfter.label;</label>
  76.       </hbox>
  77.       <checkbox id="rememberForms"
  78.                 label="&rememberForms.label;"
  79.                 accesskey="&rememberForms.accesskey;"
  80.                 preference="browser.formfill.enable"/>
  81.       <checkbox id="rememberDownloads"
  82.                 label="&rememberDownloads.label;"
  83.                 accesskey="&rememberDownloads.accesskey;"
  84.                 preference="browser.download.manager.retention"
  85.                 onsyncfrompreference="return gPrivacyPane.readDownloadRetention();"
  86.                 onsynctopreference="return gPrivacyPane.writeDownloadRetention();"/>
  87.     </groupbox>
  88.  
  89.     <!-- Cookies -->
  90.     <groupbox id="cookiesGroup">
  91.       <caption label="&cookies.label;"/>
  92.  
  93.       <hbox id="cookiesBox">
  94.         <checkbox id="acceptCookies" label="&acceptCookies.label;" flex="1"
  95.                   preference="network.cookie.cookieBehavior"
  96.                   accesskey="&acceptCookies.accesskey;"
  97.                   onsyncfrompreference="return gPrivacyPane.readAcceptCookies();"
  98.                   onsynctopreference="return gPrivacyPane.writeAcceptCookies();"/>
  99.         <button id="cookieExceptions" oncommand="gPrivacyPane.showCookieExceptions();"
  100.                 label="&cookieExceptions.label;" accesskey="&cookieExceptions.accesskey;"
  101.                 preference="pref.privacy.disable_button.cookie_exceptions"/>
  102.       </hbox>
  103.       <hbox id="keepRow">
  104.         <hbox id="keepBox" align="center" class="indent">
  105.           <label id="keepUntil"
  106.                  control="keepCookiesUntil"
  107.                  accesskey="&keepUntil.accesskey;">&keepUntil.label;</label>
  108.           <menulist id="keepCookiesUntil"
  109.                     preference="network.cookie.lifetimePolicy">
  110.             <menupopup>
  111.               <menuitem label="&expire.label;" value="0"/>
  112.               <menuitem label="&close.label;" value="2"/>
  113.               <menuitem label="&askEachTime.label;" value="1"/>
  114.             </menupopup>
  115.           </menulist>
  116.         </hbox>
  117.         <hbox flex="1"/>
  118.         <button id="showCookiesButton"
  119.                 label="&showCookies.label;" accesskey="&showCookies.accesskey;"
  120.                 oncommand="gPrivacyPane.showCookies();"
  121.                 preference="pref.privacy.disable_button.view_cookies"/>
  122.       </hbox>
  123.     </groupbox>
  124.  
  125.     <!-- Private Data -->
  126.     <groupbox id="privateDataGroup">
  127.       <caption label="&privateData.label;"/>
  128.  
  129.       <hbox id="clearDataBox" align="center">
  130.         <checkbox id="alwaysClear" flex="1"
  131.                   preference="privacy.sanitize.sanitizeOnShutdown"
  132.                   label="&alwaysClear.label;"
  133.                   accesskey="&alwaysClear.accesskey;"/>
  134.         <button id="clearDataSettings" label="&flock.pref.privacy.clearDataSettings.label;"
  135.                 accesskey="&clearDataSettings.accesskey;"
  136.                 oncommand="gPrivacyPane.showClearPrivateDataSettings();"/>
  137.       </hbox>
  138.       <hbox id="askClearBox">
  139.         <checkbox id="askBeforeClear" flex="1"
  140.                   preference="privacy.sanitize.promptOnSanitize"
  141.                   label="&askBeforeClear.label;"
  142.                   accesskey="&askBeforeClear.accesskey;"/>
  143.         <button id="clearDataNow"
  144.                 label1="&clearDataNow.label;"
  145.                 label2="&clearDataNow.label2;"
  146.                 accesskey="&clearDataNow.accesskey;"
  147.                 oncommand="gPrivacyPane.clearPrivateDataNow();"/>
  148.       </hbox>
  149.     </groupbox>
  150.  
  151.   </prefpane>
  152.  
  153. </overlay>
  154.